<?php
session_start();
ob_start();
$sessionCookieExpireTime=8*60*60;
session_set_cookie_params($sessionCookieExpireTime);
include("connection/connection.php");
$rajasthan_home = '';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<link href="css/style_question.css" type="text/css" rel="stylesheet" />
		<title>Benchmarking of Rural Water Supply Schemes in Rajasthan</title>
		
<script language="javascript">
<!--

/*Combo Box Image Selector:
By JavaScript Kit (www.javascriptkit.com)
Over 200+ free JavaScript here!
*/

function showimage()
{
if (!document.images)
return
document.images.pictures.src=
document.mygallery.picture.options[document.mygallery.picture.selectedIndex].value
}
//-->
</script>
</head>
<body>
	<table cellspacing="0" cellpadding="0" border="0" align="center" width="79.9%">
		<tr>
			<td>
		<?php
			if($_SESSION['loginid']=="") 
			{ 
				$_SESSION['loginid'] = $_COOKIE['loginid']; 
			}
			if(isset($_SESSION['loginid']))
			{
				$loginid=$_SESSION['loginid'];
				$qry="select * from tbl_lookup_user where login_id='$loginid'";
				$record=mysql_query($qry);
				$row=mysql_fetch_array($record);
				$_SESSION['name']=$row['name'];	
				
			}
			else
			{
				header('location:../index.php');
			}
		?>

<table border="0" width="100%" id="table1" cellspacing="0" cellpadding="0">
	<tr>
		<td>
		<div align="center">
			<table border="0" width="100%" id="table2" cellspacing="0" cellpadding="0" bgcolor="#F5F5F5">
				<tr>
					<td>
		<div align="center">
			<table border="0" width="100%" id="table5" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">
				<tr>
					<td bgcolor="#006EBD" height="27">
					<table border="0" width="942" id="table6" cellspacing="0" cellpadding="0">
						<tr>
							<td width="40"><font face="Arial" color="#FFFFFF">&nbsp;&nbsp;&nbsp;&nbsp;
							</font><b>
							<font size="2" color="#C0C0C0" face="Arial">&nbsp;</font></b></td>
							<td><font face="Arial" size="1" color="#FFFFFF"><script language="Javascript">
<!--
/*
Today's date script
Visit java-scripts.net or 
http://wsabstract.com for this script
*/

 var dayName = new Array ("SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY")

 var monName = new Array ("JAN", "FEB", "MAR", "APR", "MAY", "JUN", "JUL", "AUG", "SEP", "OCT", "NOV", "DEC")

 var now = new Date

 document.write(" " + dayName[now.getDay()] + ", " + monName[now.getMonth()] + " "+now.getDate() +".")

//-->
</script></font></td>
							<td>
							</td>
							<td width="207">
							
							</td>
						</tr>
					</table>
					</td>
				</tr>
				<tr>
					<td>
					<img border="0" src="images/header.jpg" width="988" height="126"></td>
				</tr>
				<tr>
					<td bgcolor="#111E2E" height="2">
					</td>
				</tr>
				<tr>
					<td>
					<!--
					<table border="0" width="101%" id="table7" cellspacing="0" cellpadding="0" height="30" bgcolor="#E8E8E8">
						<tr>
							<td width="98" align="center" onMouseOver="style.backgroundColor='#014760';"onmouseout="style.backgroundColor=''">
							<font face="Arial" size="2" onmouseover="this.style.color='white'" onmouseout="this.style.color=''" color="#000000"><a href="<?php echo $rajasthan_home;?>home.php">Home</a></font></td>
							<td bgcolor="#FFFFFF" width="2" align="center"></td>
							<td width="98" align="center"onmouseover="style.backgroundColor='#014760';"onmouseout="style.backgroundColor=''">
							<font face="Arial" size="2"onmouseover="this.style.color='white'" onmouseout="this.style.color=''" color="#000000">
							Users</font></td>
							<td bgcolor="#FFFFFF" width="2" align="center"></td>
							<td width="98" align="center"onmouseover="style.backgroundColor='#014760';"onmouseout="style.backgroundColor=''">
							<font face="Arial" size="2"onmouseover="this.style.color='white'" onmouseout="this.style.color=''" color="#000000">
							Inbox</font></td>
							<td bgcolor="#FFFFFF" width="2" align="center"></td>
							<td width="98" align="center"onmouseover="style.backgroundColor='#014760';"onmouseout="style.backgroundColor=''">
							<font face="Arial" size="2"onmouseover="this.style.color='white'" onmouseout="this.style.color=''" color="#000000">Reports</font></td>
							<td bgcolor="#FFFFFF" width="2" align="center"></td>
							<td width="98" align="center"onmouseover="style.backgroundColor='#014760';"onmouseout="style.backgroundColor=''">
							<font face="Arial" size="2"onmouseover="this.style.color='white'" onmouseout="this.style.color=''" color="#000000">
							Directory</font></td>
							<td bgcolor="#FFFFFF" width="2" align="center"></td>
							<td width="98" align="center"onmouseover="style.backgroundColor='#014760';"onmouseout="style.backgroundColor=''">
							<font face="Arial" size="2"onmouseover="this.style.color='white'" onmouseout="this.style.color=''" color="#000000">
							WQMSS</font></td>
							<td bgcolor="#FFFFFF" width="2" align="center"></td>
							<td width="98" align="center"onmouseover="style.backgroundColor='#014760';"onmouseout="style.backgroundColor=''">
							<font face="Arial" size="2" onmouseover="this.style.color='white'" onmouseout="this.style.color=''" color="#000000">MIS </font></td>
							<td bgcolor="#FFFFFF" width="2" align="center"></td>
							<td width="98" align="center"onmouseover="style.backgroundColor='#014760';"onmouseout="style.backgroundColor=''">
							<font face="Arial" size="2" onmouseover="this.style.color='white'" onmouseout="this.style.color=''" color="#000000">Team</font></td>
							<td bgcolor="#FFFFFF" width="2" align="center"></td>
							<td width="98" align="center"onmouseover="style.backgroundColor='#014760';"onmouseout="style.backgroundColor=''">
							<font face="Arial" size="2" onmouseover="this.style.color='white'" onmouseout="this.style.color=''" color="#000000">
							FAQs</font></td>
							<td width="2" bgcolor="#FFFFFF" align="center"></td>
							<td width="0" align="center"onmouseover="style.backgroundColor='#014760';"onmouseout="style.backgroundColor=''">
							<font face="Arial" size="2"onmouseover="this.style.color='white'" onmouseout="this.style.color=''" color="#000000">
							Login</font></td>
						</tr>
						-->
					    <table width="100%" height="24">
							<tr>
								<td colspan="2" height="24" bgcolor="#F0F0F0">
								
							<font face="Verdana" style="font-size: 8.5pt" color="#006699">
							<b>&nbsp;You are Logged as [<?php echo ucwords($_SESSION['loginid']);?>]</b></font>
								</td>
								<td height="24" bgcolor="#F0F0F0" align="right">
								<font face="Arial" style="font-size: 8.5pt" color="#000000">
							<a href="<?php echo $rajasthan_home;?>logout.php"><font color="#006699" >
							<b>Logout&nbsp;</b></font></a>&nbsp; </font></td>
							</tr>
						</table>
					</table>


					</td>
		</tr>
	</table>
					
